//
//  AppDelegate.h
//  Arts1
//
//  Created by apple on 15/8/28.
//  Copyright (c) 2015年 Arts1. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WXApi.h"

@protocol WXLoginDelegate <NSObject>

// 微信登陆方法回调之后，得到相应的code，然后传值，用来进一步获取token
- (void)getUserInformationWithCode:(NSString *)code;

@end

@interface AppDelegate : UIResponder <UIApplicationDelegate,WXApiDelegate>

@property (nonatomic ,assign) id<WXLoginDelegate>delegate;


@property (strong, nonatomic) UIWindow *window;

@end

